package com.tiantianfresh.admin.service;

import com.tiantianfresh.model.pojo.CommodityAllocation;

import java.util.List;

public interface AllocationService {
    //查询Allocation,返回list集合
    List<CommodityAllocation> selectAll();
    //根据id删除一个Allocation
    int deleteAllocationById(int id);
    //增加一个Allocation
    int addAllocation(CommodityAllocation allocation);
    //根据id查询
    CommodityAllocation queryAllocationById( int id);
    //更新Allocation
    int updateAllocation(CommodityAllocation allocation);
}
